package com.ruoyi.weldinganalysis.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员焊接数据对象 welding_analysis_operator
 * 
 * @author dai
 * @date 2022-12-12
 */
public class WeldingAnalysisOperator extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 人员名称 */
    @Excel(name = "人员名称")
    private String operatorName;

    /** 累计焊接时间 */
    @Excel(name = "累计焊接时间")
    private String weldingAccTime;

    /** 良好段时长 */
    @Excel(name = "良好段时长")
    private String weldingOkTime;

    /** 正常段时长 */
    @Excel(name = "正常段时长")
    private String weldingNormalTime;

    /** 超规范时长 */
    @Excel(name = "超规范时长")
    private String weldingBadTime;

    /** 规范符合率 */
    @Excel(name = "规范符合率")
    private String weldingGoodRate;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOperatorName(String operatorName) 
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName() 
    {
        return operatorName;
    }
    public void setWeldingAccTime(String weldingAccTime) 
    {
        this.weldingAccTime = weldingAccTime;
    }

    public String getWeldingAccTime() 
    {
        return weldingAccTime;
    }
    public void setWeldingOkTime(String weldingOkTime) 
    {
        this.weldingOkTime = weldingOkTime;
    }

    public String getWeldingOkTime() 
    {
        return weldingOkTime;
    }
    public void setWeldingNormalTime(String weldingNormalTime) 
    {
        this.weldingNormalTime = weldingNormalTime;
    }

    public String getWeldingNormalTime() 
    {
        return weldingNormalTime;
    }
    public void setWeldingBadTime(String weldingBadTime) 
    {
        this.weldingBadTime = weldingBadTime;
    }

    public String getWeldingBadTime() 
    {
        return weldingBadTime;
    }
    public void setWeldingGoodRate(String weldingGoodRate) 
    {
        this.weldingGoodRate = weldingGoodRate;
    }

    public String getWeldingGoodRate() 
    {
        return weldingGoodRate;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("operatorName", getOperatorName())
            .append("weldingAccTime", getWeldingAccTime())
            .append("weldingOkTime", getWeldingOkTime())
            .append("weldingNormalTime", getWeldingNormalTime())
            .append("weldingBadTime", getWeldingBadTime())
            .append("weldingGoodRate", getWeldingGoodRate())
            .append("startTime", getStartTime())
            .append("finishTime", getFinishTime())
            .toString();
    }
}
